from rest_framework import serializers
from .models import *

class SchoolSerializers(serializers.ModelSerializer):
    # disable = serializers.CharField(source='disable.get_disable_display')
    class Meta:
        model= School
        fields="__all__"

class GradeSerializers(serializers.ModelSerializer):
    
    class Meta:
        model= Grade
        fields="__all__"

class ClassBjSerializers(serializers.ModelSerializer):
    
    class Meta:
        model= ClassBj
        fields="__all__"

class SubjectSerializers(serializers.ModelSerializer):
    
    class Meta:
        model= Subject
        fields="__all__"

class NationSerializers(serializers.ModelSerializer):
    
    class Meta:
        model= Nation
        fields="__all__"

class PoliticalClimateSerializers(serializers.ModelSerializer):
    
    class Meta:
        model= PoliticalClimate
        fields="__all__"

